#pragma once

class CBTChannel
{
public:
	CBTChannel(void);
	virtual ~CBTChannel(void);

	void connect(void);
	void disconnect(void);
	int getDistance(void);
	void setEyeAngle(int angle);
	void forward(void);
	void left(void);
	void right(void);
	void back(void);
	void stop(void);
private:

	void sendCommand(std::string command);
	std::string readAnswer();

	bool bConnected;
	HANDLE hCom;
};

